import 'package:chathouse/util/image_utils.dart';
import 'package:chathouse/util/log.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import '../../constant/res.dart';

//啟動頁
class LaunchPage extends StatelessWidget {
  const LaunchPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    LogUtil.d("1.sw== ${1.sw}   1.sh== ${1.sh}");
    return Scaffold(
      body: Stack(
        children: [
          ImageUtils.image(Res.login_bg, width: 1.sw, height: 1.sh),
          // ListView(
          //   children: [
          //     Column(
          //       crossAxisAlignment: CrossAxisAlignment.center,
          //       mainAxisAlignment: MainAxisAlignment.center,
          //       children: [
          //         ImageUtils.image(Res.login_logo,
          //                 width: 145.w, height: 160.w)
          //             .setContainer(margin: EdgeInsets.only(top: 80.w)),
          //         Text(
          //           "Chat House",
          //           style: getTextStyle(28.sp, color: MyColors.green_5714540),
          //         ).setContainer(margin: EdgeInsets.only(top: 3.w)),
          //         Text(
          //           "屋測測",
          //           style: getTextStyle(36.sp, color: MyColors.green_5714540),
          //         ).setContainer(margin: EdgeInsets.only(top: 3.w)),
          //       ],
          //     )
          //   ],
          // )
        ],
      ),
    );
  }
}
